Loading

×Sorry to interrupt
Uncaught ReferenceError: addCTracking is not defined
throws at https://kb.vmware.com/resource/KM_TealiumTrackingJS?v=0.5:100:1

Refresh

My Subscriptions

Loading

Knowledge Base

"[Error 1314] CreateProcessAsUser: 'A required privilege is not held by the client.'" vCenter Server migration to Appliance fails with WindowsError during pre-checks (76810)

Last Updated: 3/1/2021Categories: TroubleshootingTotal Views: 7021Language:
English

6 like this article

Subscribe to get an email
newsletter with new updates

6 people found this helpful Please provide article feedback:

Symptoms

Windows vCenter migration fails during pre-checks with error : WindowsError: [Error 1314] CreateProcessAsUser: 'A required privilege is not held by the client.'

You will see entries similar to below in log file %temp/vcsMigration/CollectRequirements_com.vmware.vcdb_<date_and_time>.log

2020-01-07T23:27:39.298Z INFO vcdb.const MSSQL with Windows Authentication.

2020-01-07T23:27:39.298Z INFO vcdb.const Validating source embedded schema...

2020-01-07T23:27:39.301Z INFO vcdb.const MSSQL with Windows Authentication.

2020-01-07T23:27:39.308Z INFO win_executor Running command ['C:\\mig7EB5.tmp\\PFiles\\VMware\\CIS\\cis_upgrade_runner\\payload\\component-scripts\\vcdb\\dbupgrade\\dbcupgrade', '-u', 'ckk87asdlkfe98ujhl=', '-p',CENSORED, '-b', '600', '-v', u'C:\\Users\\<username>\\AppData\\Local\\Temp\\vcsMigration\\vcdb_warning.log', '-t', 'mssql', '-d', 'ckk87sdfhawfe98ujhl=', '-y', '-e', '-m'] as user <username>@<domainname>

2020-01-07T23:27:40.246Z ERROR __main__ Upgrade Phase 'vcdb:CollectRequirements' failed. Exception: [Error 1314] CreateProcessAsUser: 'A required privilege is not held by the client.'

Traceback (most recent call last):

File "C:\mig7EB5.tmp\PFiles\VMware\CIS\cis_upgrade_runner\payload\componentPhaseLauncher.py", line 461, in main

executionResult = systemExtension(exeContext)

File "C:\mig7EB5.tmp\PFiles\VMware\CIS\cis_upgrade_runner\libs\sdk\extensions.py", line 94, in __call__

result = self.extension(*args)

File "C:\mig7EB5.tmp\PFiles\VMware\CIS\cis_upgrade_runner\libs\sdk\extensions.py", line 110, in _func

return func(*args)

File "C:\mig7EB5.tmp\PFiles\VMware\CIS\cis_upgrade_runner\payload\component-scripts\vcdb\__init__.py", line 25, in do_collect_upgrade_requirements

req = do_windows_collect_req(context)

File "C:\mig7EB5.tmp\PFiles\VMware\CIS\cis_upgrade_runner\payload\component-scripts\vcdb\vcdb_collect_requirements_functions.py", line 739, in do_windows_collect_req

DBC_UPGRADE_FOLDER)

File "C:\mig7EB5.tmp\PFiles\VMware\CIS\cis_upgrade_runner\libs\sdk\win_executor.py", line 307, in run_as_user

stderr=stderrFile)

File "C:\mig7EB5.tmp\PFiles\VMware\CIS\cis_upgrade_runner\libs\sdk\win_executor.py", line 140, in __init__

stderr=stderr, close_fds=close_fds)

File "C:\Program Files\VMware\vCenter Server\python\lib\subprocess.py", line 710, in __init__

errread, errwrite)

File "C:\mig7EB5.tmp\PFiles\VMware\CIS\cis_upgrade_runner\libs\sdk\win_executor.py", line 226, in _execute_child

raise WindowsError(*e.args)

WindowsError: [Error 1314] CreateProcessAsUser: 'A required privilege is not held by the client.'

Purpose

Identify missing service account permissions as cause of vCenter Server migration failure.

Cause

This issue can happen if the Service Account used by VC Service is missing proper privileges on Windows vCenter Server.

Resolution

To resolve the issue, grant following permissions through Group Policy or Local Policy to the service account used by vCenter Services:

Log on as a service

Replace process level token

Log on as batch job

Re-run the migration after granting above permissions.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

Additional Resources

KB
•
EVC モードの不一致により仮想マシンの移行で問題が発生する (2014835)

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
Workspace ONE UEM が Azure AD と統合していない場合、User Enrollment をテストできない (74934)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-4 of 4

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vCenter Server

Related Versions:

VMware vCenter Server 6.x

VMware vCenter Server 5.5.x

Take Our Survey

Cookie Preference Center

General Information on cookies

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Please confirm your settings by refreshing the page.

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Please confirm your settings by refreshing the page.

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

Support Assistant